package com.baidu.www;
class OuterClass2 {
    public int data1 = 1;
    public int data2 = 2;
    public static int data3 = 3;
    public void test(){
        class InnerClass{
            public int data1=100;
            private int data5=5;
            public static int data6=6;
            public void test(){
                System.out.println(data1);
            }

        }
        InnerClass innerClass=new InnerClass();
        innerClass.test();
        //局部内部类只能在当前方法中使用
    }
}
public class Text4 {
}
